Skip to content

fix(components): combobox honours options[].disabled - #8142

Merged
os-justin merged 2 commits into
mainfrom
claude/issue-7687-combobox-option-disabled
Sep 6, 2026
Merged

fix(components): combobox honours options[].disabled#8142
os-justin merged 2 commits into
mainfrom
claude/issue-7687-combobox-option-disabled

Conversation

@os-justin

@os-justin os-justin commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator

Fixes #7687

What was wrong

options[].disabled on a combobox node was declared (@object-ui/types ComboboxOption.disabled), validated (ComboboxOptionSchema in the zod mirror, pinned as boolean on both faces by the objectui#7087 twin-symmetry ruling) and never read. The component mapped each option to a CommandItem carrying key, value and onSelect only, so an option authored { value, label, disabled: true } passed safeValidateSchema, type-checked against the published ComboboxSchema, and rendered as an ordinary, fully selectable option.

Reproduced before touching anything — the pin in this PR, run against the base tree 5b09821ed, fails exactly there:

× marks an option authored `disabled: true` as disabled in the DOM
    Expected the element to have attribute: data-disabled="true"
    Received:                               data-disabled="false"
× refuses to select a disabled option — no onValueChange
    expected "vi.fn()" to not be called at all, but actually been called 1 times
    1st vi.fn() call: Array [ "beta" ]

The fix — one prop, the house spelling

disabled={option.disabled} on the CommandItem, which is what the sibling select renderer already does on its SelectItem (packages/components/src/renderers/form/select.tsx). The styling needed no work: the CommandItem wrapper's className already carried data-[disabled=true]:opacity-50 and data-[disabled=true]:pointer-events-none, so only the read was missing.

Remedy chosen: honour the key, not retire it. Retiring disabled from ComboboxOption and the zod mirror would narrow a published surface and would require the objectui#7087 twin-symmetry pin to be changed; honouring it restores declared = enforced for the cost of one prop. No declared type or value movesComboboxOption and the zod mirror are exactly as they were; the only packages/types file in this diff is a census test, described below.

Measured: the onSelect guard would have been dead code

The card left open whether cmdk needs a refusal inside onSelect in addition to the disabled prop. Measured against cmdk 1.1.1 rather than assumed — a disabled Command.Item:

  • renders with onClick undefined, so a click reaches no handler;
  • never registers the cmdk-item-select listener that Enter dispatches;
  • is excluded from the valid-item selector the arrow keys and the auto-select walk use (aria-disabled="true" is filtered out).

So the prop alone suppresses selection on both the pointer and the keyboard path, and an extra guard in onSelect would be unreachable. It is not added. The reasoning is recorded at the change site so the next reader does not re-open the question, and the behaviour legs of the pin are what keep the measurement honest.

The pin asserts behaviour, not just the attribute

⛔ An attribute-only pin passes on "styled disabled but still clickable", which is the exact failure this card is about. packages/components/src/__tests__/combobox-option-disabled.test.tsx has five legs:

leg asserts
attribute the disabled option carries data-disabled and aria-disabled
behaviour, pointer clicking it fires no onValueChange
behaviour, keyboard narrowing the search to it and pressing Enter fires no onValueChange
CONTROL options with disabled omitted and with disabled: false are both data-disabled="false", and clicking one DOES fire onValueChange
CONTROL the keyboard path still selects an enabled option

The two controls exist because both negatives are vacuous without them — a popover that never opened would satisfy "not called" just as well.

Reverse verification, run from the committed state (mutation proven on disk by a marker count 1 → 0 and a blob-hash mismatch against the HEAD blob, restored with git checkout HEAD -- ... and proven clean by an empty git diff HEAD): removing the one-line read turns all three assertion legs red and leaves both control legs green. That is the shape it has to have — the controls measure the surrounding machinery, not the fix.

The docs row, and the census that claims it

content/docs/components/form/combobox.mdx documented ComboboxOption as value-plus-label, missing disabled. Only that interface block is touched; the rest of the page is untouched, and content/docs/releases/ is not touched at all.

⚠️ Correcting a belief this card carried. The card recorded that the block's plaintext fence means no CI gate could see it. That is true of the doc-TYPE gates — check-doc-component-types reads only type string literals, and check-doc-snippet-types compiles ts/tsx fences, not plaintext — and false overall: packages/types/src/__tests__/component-docs-disabled-inherited-7239.test.ts is a census that reads those .mdx files as text, counts every documented disabled?: row, and pins the population. It caught the new row, red, on Test (shard 4/4).

So the second commit claims the row deliberately. ⛔ Not a count bump: the row is classified on the criterion that file states — the shipped ComboboxOption declares disabled itself and does not extend BaseSchema, so it is INDEPENDENT and the narrow boolean spelling on the page is the correct one. Counts move consistently: rows 22 to 23, independent 8 to 9, inherited unchanged at 14. A new ## Amendments section in that file records why the ledger moved, so a later reader can tell a deliberate claim from a number bumped to get back to green.

@object-ui/types is deliberately not given its own changeset bump: no shipped type or value moves there, only that test.

Why minor

Making a previously ignored key take effect is a user-visible behaviour change. An author who already writes disabled: true today gets a different combobox after this lands. The changeset body says so and records why the retire remedy was not taken. (major is forbidden in this repo; a deliberately breaking change ships minor.)

Gates

Re-run at b0a6b3c8b, after the census fix.

gate result
vitest run packages/types/src/__tests__/component-docs-disabled-inherited-7239.test.ts exit 0 — 46 passed; verbose output confirms both new ComboboxOption assertions ran, so the row is claimed for the right reason
vitest run packages/types/ exit 0 — 133 files, 2500 tests
vitest run packages/components/ exit 0 — 236 files, 2173 tests (at 6ff473171; the second commit touches no file this package reads)
every test under scripts/__tests__ that reads content/docs (24 files) exit 0 — 1085 tests
every test in the other packages that reads content/docs (25 files) exit 0 — 263 tests
packages/types and packages/components type-check exit 0 each
pnpm lint (full, turbo run lint) exit 0, 47/47 tasks, every package reporting 0 errors
check:control-bytes exit 0, plus a direct scan of the changed files
check:published-dist · check:published-tsconfig-exclude · check:handler-key-reads exit 0
check:doc-fences · check:doc-snippets · check:doc-types · check:docs-route-closure · check-doc-links exit 0
check:changeset-presence · check-changeset-no-major · check-changeset-fixed · check-changeset-overwrite exit 0

The doc-reading population above was enumerated by measurement (grep for the tests that read content/docs) rather than guessed, because a scope narrowed to the package the code fix lives in is exactly what could not see the census failure. A full local pnpm test does not fit the container's foreground limit — it is a 4-way shard job on CI — so that enumeration is the declared substitute.

Known reds that are not from this branch: Live E2E (informational) is advisory and red on main itself (carded objectui#8084), and a Build and E2E death at roughly 11s at pnpm --version is a corepack download flake.

Scope

⛔ No change to the declared surface: ComboboxOption, ComboboxOptionSchema and the objectui#7087 twin-symmetry pin are untouched (narrowing them is the retire remedy's territory). ⛔ Not folded into objectui#6349 batch 3 / PR #7691, which deliberately changes no behaviour. ⛔ objectui#7697, the root-barrel export gap, is adjacent and surface-only and is not addressed here — it stays open.

Out-of-scope finding filed unassigned while working this card: objectui#8140 — the combobox renderer never reads ComboboxSchema.defaultValue, .name or .description, while the sibling select and input renderers read theirs. Same defect class, different member set, deduped against a search whose control fired. ⛔ Not fixed here.

⛔ Left as a draft deliberately: CI convergence and landing belong to the dispatching PM.

`options[].disabled` was declared by `@object-ui/types` and validated by the
zod mirror, but `Combobox` never read it: each option became a `CommandItem`
carrying `key`, `value` and `onSelect` only, so an option authored
`disabled: true` passed validation, type-checked against the published
`ComboboxSchema`, and rendered as an ordinary selectable option.

The component now sets `disabled={option.disabled}`, the spelling the sibling
select renderer already uses on `SelectItem`. cmdk 1.1.1 needs nothing more:
a disabled `Command.Item` renders with `onClick` undefined, never registers
the `cmdk-item-select` listener Enter dispatches, and is excluded from the
valid-item selector the arrow keys walk — so a refusal inside `onSelect`
would have been unreachable code. Measured, not assumed.

The pin asserts both halves, because an attribute-only pin passes on "styled
disabled but still clickable": the option carries `data-disabled` /
`aria-disabled`, AND neither a click nor Enter fires `onValueChange`. Two
control legs keep those negatives from being vacuous.

Also refreshes the `ComboboxOption` block in the combobox docs page, which
still documented the shape as `{ value; label }`. It sits in a plaintext
fence, so no docs gate reads it.

Refs: objectui#7687

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YBWFb5YgMU5dw8p2VKj16S
@github-actions

github-actions Bot commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 50 chunks) 3186.6 KB 3191.4 KB
Main entry chunk (gzip) 143.5 KB 350 KB
Entry file index-CsIQvyOJ.js
Status PASS

The eager closure is every chunk the entry reaches through static imports — what the browser fetches and parses before the app renders. The entry chunk on its own is a small fraction of it.


📦 Bundle Size Report

Package Size Gzipped
app-shell (consoleActionDispatch.js) 0.20KB 0.19KB
app-shell (index.js) 15.67KB 5.75KB
app-shell (runtime-config.js) 20.68KB 7.36KB
app-shell (types.js) 0.01KB 0.04KB
app-shell (urlParams.js) 10.06KB 3.86KB
auth (ActiveOrganizationStorage.js) 25.05KB 9.16KB
auth (AuthContext.js) 0.31KB 0.24KB
auth (AuthGuard.js) 2.07KB 1.00KB
auth (AuthProvider.js) 40.18KB 10.59KB
auth (AuthShell.js) 3.49KB 1.40KB
auth (ForgotPasswordForm.js) 12.21KB 3.45KB
auth (LoginForm.js) 18.15KB 5.39KB
auth (PreviewBanner.js) 0.90KB 0.50KB
auth (RegisterForm.js) 6.65KB 2.22KB
auth (SocialSignInButtons.js) 9.61KB 3.89KB
auth (UserMenu.js) 3.41KB 1.23KB
auth (auth-gate-events.js) 1.29KB 0.66KB
auth (authStyles.js) 5.04KB 1.72KB
auth (createAuthClient.js) 40.21KB 10.80KB
auth (createAuthenticatedFetch.js) 8.46KB 3.43KB
auth (index.js) 3.19KB 1.44KB
auth (invitation-status.js) 1.22KB 0.70KB
auth (org-roles.js) 6.66KB 2.78KB
auth (phone-identifier.js) 1.11KB 0.66KB
auth (types.js) 0.59KB 0.35KB
auth (useAuth.js) 5.30KB 1.02KB
auth (useWorkspaceAdminStatus.js) 5.13KB 2.35KB
collaboration (CommentThread.js) 26.08KB 7.56KB
collaboration (LiveCursors.js) 3.17KB 1.27KB
collaboration (PresenceAvatars.js) 6.49KB 2.64KB
collaboration (PresenceProvider.js) 2.79KB 1.13KB
collaboration (index.js) 1.68KB 0.73KB
collaboration (useCollaborationTranslation.js) 6.05KB 2.52KB
collaboration (useCommentSearch.js) 1.98KB 0.88KB
collaboration (useConflictResolution.js) 7.75KB 1.86KB
collaboration (useMentionNotifications.js) 1.81KB 0.68KB
collaboration (usePresence.js) 6.33KB 1.84KB
collaboration (useRealtimeSubscription.js) 7.91KB 2.01KB
components (index.js) 498.09KB 113.98KB
core (index.js) 6.96KB 2.79KB
create-plugin (index.js) 10.08KB 3.26KB
data-objectstack (index.js) 182.08KB 50.62KB
fields (index.js) 242.43KB 61.25KB
i18n (LocalizationContext.js) 1.76KB 0.96KB
i18n (builtinAggregateLabels.js) 0.86KB 0.49KB
i18n (currency.js) 1.22KB 0.64KB
i18n (fallbackInterpolation.js) 6.25KB 2.77KB
i18n (i18n.js) 6.57KB 2.76KB
i18n (index.js) 3.65KB 1.47KB
i18n (pickLocalized.js) 7.62KB 3.26KB
i18n (provider.js) 26.89KB 9.04KB
i18n (useDisplayLocale.js) 2.85KB 1.45KB
i18n (useObjectLabel.js) 34.34KB 9.17KB
i18n (useSafeTranslation.js) 5.60KB 2.33KB
layout (index.js) 38.84KB 10.94KB
mobile (MobileProvider.js) 0.92KB 0.49KB
mobile (ResponsiveContainer.js) 0.94KB 0.38KB
mobile (breakpoints.js) 1.51KB 0.70KB
mobile (createOfflineDataSource.js) 5.61KB 1.75KB
mobile (index.js) 1.99KB 0.87KB
mobile (offlineQueue.js) 3.91KB 1.35KB
mobile (pwa.js) 0.97KB 0.49KB
mobile (serviceWorker.js) 1.48KB 0.62KB
mobile (serviceWorkerSource.js) 3.41KB 1.48KB
mobile (useBreakpoint.js) 1.54KB 0.65KB
mobile (useGesture.js) 6.96KB 1.98KB
mobile (useOfflineSync.js) 1.99KB 0.72KB
mobile (usePullToRefresh.js) 2.53KB 0.85KB
mobile (useResponsive.js) 0.72KB 0.42KB
mobile (useSpecGesture.js) 4.39KB 1.66KB
mobile (useTouchTarget.js) 1.01KB 0.54KB
permissions (MePermissionsProvider.js) 11.71KB 4.29KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 6.24KB 2.16KB
permissions (discardProofCache.js) 1.04KB 0.55KB
permissions (evaluator.js) 5.12KB 1.74KB
permissions (index.js) 0.93KB 0.41KB
permissions (store.js) 0.91KB 0.42KB
permissions (useFieldPermissions.js) 1.28KB 0.53KB
permissions (usePermissions.js) 4.83KB 2.27KB
plugin-ai (index.js) 15.16KB 3.68KB
plugin-calendar (index.js) 47.29KB 13.18KB
plugin-charts (index.js) 70.35KB 19.68KB
plugin-chatbot (index.js) 193.54KB 46.04KB
plugin-dashboard (index.js) 131.41KB 34.43KB
plugin-designer (index.js) 211.51KB 43.01KB
plugin-detail (index.js) 247.75KB 63.50KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 131.01KB 32.32KB
plugin-gantt (index.js) 167.16KB 40.99KB
plugin-grid (index.js) 208.58KB 56.63KB
plugin-kanban (index.js) 52.46KB 14.57KB
plugin-list (index.js) 113.34KB 27.72KB
plugin-map (index.js) 20.49KB 6.83KB
plugin-markdown (index.js) 13.88KB 4.80KB
plugin-report (index.js) 43.42KB 11.92KB
plugin-timeline (index.js) 30.10KB 8.74KB
plugin-tree (index.js) 9.33KB 3.25KB
plugin-view (index.js) 84.48KB 20.81KB
providers (DataSourceProvider.js) 0.75KB 0.39KB
providers (MetadataProvider.js) 1.37KB 0.59KB
providers (ThemeProvider.js) 1.90KB 0.85KB
providers (UploadProvider.js) 11.66KB 3.50KB
providers (index.js) 0.45KB 0.23KB
providers (types.js) 0.01KB 0.04KB
react-runtime (index.js) 5.62KB 2.34KB
react (LazyPluginLoader.js) 4.47KB 1.63KB
react (SchemaRenderer.js) 81.07KB 26.86KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 4.63KB 2.18KB
react (schema-input.js) 2.32KB 1.24KB
react (spec-input.js) 0.20KB 0.18KB
sdui-parser (codegen.js) 6.58KB 2.74KB
sdui-parser (dashboard-widget-options.js) 3.08KB 1.30KB
sdui-parser (index.js) 5.55KB 2.45KB
sdui-parser (input-type.js) 2.84KB 1.40KB
sdui-parser (parse.js) 20.57KB 5.88KB
sdui-parser (provenance.js) 3.66KB 1.82KB
sdui-parser (types.js) 0.28KB 0.23KB
sdui-parser (validate.js) 13.64KB 4.59KB
types (ai.js) 0.20KB 0.17KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 2.87KB 1.00KB
types (base.js) 0.20KB 0.18KB
types (blocks.js) 0.20KB 0.18KB
types (complex.js) 2.74KB 1.41KB
types (crud.js) 0.20KB 0.18KB
types (dashboard-filter-alias.js) 6.23KB 2.74KB
types (data-display.js) 3.75KB 1.85KB
types (data-protocol.js) 0.20KB 0.19KB
types (data.js) 0.20KB 0.18KB
types (designer.js) 1.85KB 0.85KB
types (disclosure.js) 0.20KB 0.18KB
types (error-code.js) 1.54KB 0.88KB
types (expression.js) 0.20KB 0.18KB
types (feedback.js) 0.20KB 0.18KB
types (field-types.js) 0.20KB 0.18KB
types (form.js) 0.20KB 0.18KB
types (http-inflight.js) 8.87KB 3.73KB
types (http-retry.js) 4.32KB 2.02KB
types (icon-key-migration.js) 4.26KB 1.63KB
types (index.js) 4.74KB 2.25KB
types (layout.js) 0.20KB 0.18KB
types (managed-by.js) 0.19KB 0.18KB
types (mobile.js) 4.73KB 2.28KB
types (navigation.js) 0.20KB 0.18KB
types (objectql.js) 0.20KB 0.18KB
types (overlay.js) 0.20KB 0.18KB
types (permissions.js) 0.20KB 0.18KB
types (plugin-scope.js) 0.20KB 0.18KB
types (record-components.js) 0.20KB 0.19KB
types (record-semantics.js) 1.28KB 0.67KB
types (registry.js) 0.20KB 0.18KB
types (reports.js) 0.20KB 0.18KB
types (select-option.js) 0.20KB 0.19KB
types (spec-report.js) 5.05KB 1.93KB
types (spec-ui-namespace.js) 0.20KB 0.19KB
types (system-fields.js) 3.33KB 1.54KB
types (theme.js) 6.28KB 2.87KB
types (ui-action.js) 8.11KB 3.32KB
types (views.js) 0.20KB 0.18KB
types (widget.js) 0.20KB 0.18KB

Size Limits

  • ✅ Core packages should be < 50KB gzipped
  • ✅ Component packages should be < 100KB gzipped
  • ⚠️ Plugin packages should be < 150KB gzipped

`component-docs-disabled-inherited-7239.test.ts` is a census over
`content/docs/components`: it classifies every documented `disabled?:` row as
INHERITED or INDEPENDENT and pins the population by measurement. Documenting
`ComboboxOption.disabled` adds a real 23rd row, so the census failed with the
row unclassified and the population one short.

The row is claimed as INDEPENDENT on the file's own stated criterion, not by
bumping the count: the shipped `ComboboxOption` declares `disabled` itself and
does NOT extend `BaseSchema`, so the narrow `boolean` spelling on the page is
the correct one and the second INDEPENDENT assertion holds for it unchanged.
Counts move consistently — rows 22 to 23, independent 8 to 9, inherited
unchanged at 14.

A new `## Amendments` section records why the ledger moved, so a later reader
can tell a deliberate claim from a number someone bumped to get back to green.
It also corrects a belief the #7687 card recorded: the page's `plaintext` fence
does keep the doc-TYPE gates from reading it, but this census reads the `.mdx`
files as text, so a docs edit under `content/docs/components` that touches a
`disabled` row is answerable to `packages/types`.

Refs: objectui#7687

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YBWFb5YgMU5dw8p2VKj16S
@github-actions

github-actions Bot commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 50 chunks) 3186.6 KB 3191.4 KB
Main entry chunk (gzip) 143.5 KB 350 KB
Entry file index-CsIQvyOJ.js
Status PASS

The eager closure is every chunk the entry reaches through static imports — what the browser fetches and parses before the app renders. The entry chunk on its own is a small fraction of it.


📦 Bundle Size Report

Package Size Gzipped
app-shell (consoleActionDispatch.js) 0.20KB 0.19KB
app-shell (index.js) 15.67KB 5.75KB
app-shell (runtime-config.js) 20.68KB 7.36KB
app-shell (types.js) 0.01KB 0.04KB
app-shell (urlParams.js) 10.06KB 3.86KB
auth (ActiveOrganizationStorage.js) 25.05KB 9.16KB
auth (AuthContext.js) 0.31KB 0.24KB
auth (AuthGuard.js) 2.07KB 1.00KB
auth (AuthProvider.js) 40.18KB 10.59KB
auth (AuthShell.js) 3.49KB 1.40KB
auth (ForgotPasswordForm.js) 12.21KB 3.45KB
auth (LoginForm.js) 18.15KB 5.39KB
auth (PreviewBanner.js) 0.90KB 0.50KB
auth (RegisterForm.js) 6.65KB 2.22KB
auth (SocialSignInButtons.js) 9.61KB 3.89KB
auth (UserMenu.js) 3.41KB 1.23KB
auth (auth-gate-events.js) 1.29KB 0.66KB
auth (authStyles.js) 5.04KB 1.72KB
auth (createAuthClient.js) 40.21KB 10.80KB
auth (createAuthenticatedFetch.js) 8.46KB 3.43KB
auth (index.js) 3.19KB 1.44KB
auth (invitation-status.js) 1.22KB 0.70KB
auth (org-roles.js) 6.66KB 2.78KB
auth (phone-identifier.js) 1.11KB 0.66KB
auth (types.js) 0.59KB 0.35KB
auth (useAuth.js) 5.30KB 1.02KB
auth (useWorkspaceAdminStatus.js) 5.13KB 2.35KB
collaboration (CommentThread.js) 26.08KB 7.56KB
collaboration (LiveCursors.js) 3.17KB 1.27KB
collaboration (PresenceAvatars.js) 6.49KB 2.64KB
collaboration (PresenceProvider.js) 2.79KB 1.13KB
collaboration (index.js) 1.68KB 0.73KB
collaboration (useCollaborationTranslation.js) 6.05KB 2.52KB
collaboration (useCommentSearch.js) 1.98KB 0.88KB
collaboration (useConflictResolution.js) 7.75KB 1.86KB
collaboration (useMentionNotifications.js) 1.81KB 0.68KB
collaboration (usePresence.js) 6.33KB 1.84KB
collaboration (useRealtimeSubscription.js) 7.91KB 2.01KB
components (index.js) 498.09KB 113.98KB
core (index.js) 6.96KB 2.79KB
create-plugin (index.js) 10.08KB 3.26KB
data-objectstack (index.js) 182.08KB 50.62KB
fields (index.js) 242.43KB 61.25KB
i18n (LocalizationContext.js) 1.76KB 0.96KB
i18n (builtinAggregateLabels.js) 0.86KB 0.49KB
i18n (currency.js) 1.22KB 0.64KB
i18n (fallbackInterpolation.js) 6.25KB 2.77KB
i18n (i18n.js) 6.57KB 2.76KB
i18n (index.js) 3.65KB 1.47KB
i18n (pickLocalized.js) 7.62KB 3.26KB
i18n (provider.js) 26.89KB 9.04KB
i18n (useDisplayLocale.js) 2.85KB 1.45KB
i18n (useObjectLabel.js) 34.34KB 9.17KB
i18n (useSafeTranslation.js) 5.60KB 2.33KB
layout (index.js) 38.84KB 10.94KB
mobile (MobileProvider.js) 0.92KB 0.49KB
mobile (ResponsiveContainer.js) 0.94KB 0.38KB
mobile (breakpoints.js) 1.51KB 0.70KB
mobile (createOfflineDataSource.js) 5.61KB 1.75KB
mobile (index.js) 1.99KB 0.87KB
mobile (offlineQueue.js) 3.91KB 1.35KB
mobile (pwa.js) 0.97KB 0.49KB
mobile (serviceWorker.js) 1.48KB 0.62KB
mobile (serviceWorkerSource.js) 3.41KB 1.48KB
mobile (useBreakpoint.js) 1.54KB 0.65KB
mobile (useGesture.js) 6.96KB 1.98KB
mobile (useOfflineSync.js) 1.99KB 0.72KB
mobile (usePullToRefresh.js) 2.53KB 0.85KB
mobile (useResponsive.js) 0.72KB 0.42KB
mobile (useSpecGesture.js) 4.39KB 1.66KB
mobile (useTouchTarget.js) 1.01KB 0.54KB
permissions (MePermissionsProvider.js) 11.71KB 4.29KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 6.24KB 2.16KB
permissions (discardProofCache.js) 1.04KB 0.55KB
permissions (evaluator.js) 5.12KB 1.74KB
permissions (index.js) 0.93KB 0.41KB
permissions (store.js) 0.91KB 0.42KB
permissions (useFieldPermissions.js) 1.28KB 0.53KB
permissions (usePermissions.js) 4.83KB 2.27KB
plugin-ai (index.js) 15.16KB 3.68KB
plugin-calendar (index.js) 47.29KB 13.18KB
plugin-charts (index.js) 70.35KB 19.68KB
plugin-chatbot (index.js) 193.54KB 46.04KB
plugin-dashboard (index.js) 131.41KB 34.43KB
plugin-designer (index.js) 211.51KB 43.01KB
plugin-detail (index.js) 247.75KB 63.50KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 131.01KB 32.32KB
plugin-gantt (index.js) 167.16KB 40.99KB
plugin-grid (index.js) 208.58KB 56.63KB
plugin-kanban (index.js) 52.46KB 14.57KB
plugin-list (index.js) 113.34KB 27.72KB
plugin-map (index.js) 20.49KB 6.83KB
plugin-markdown (index.js) 13.88KB 4.80KB
plugin-report (index.js) 43.42KB 11.92KB
plugin-timeline (index.js) 30.10KB 8.74KB
plugin-tree (index.js) 9.33KB 3.25KB
plugin-view (index.js) 84.48KB 20.81KB
providers (DataSourceProvider.js) 0.75KB 0.39KB
providers (MetadataProvider.js) 1.37KB 0.59KB
providers (ThemeProvider.js) 1.90KB 0.85KB
providers (UploadProvider.js) 11.66KB 3.50KB
providers (index.js) 0.45KB 0.23KB
providers (types.js) 0.01KB 0.04KB
react-runtime (index.js) 5.62KB 2.34KB
react (LazyPluginLoader.js) 4.47KB 1.63KB
react (SchemaRenderer.js) 81.07KB 26.86KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 4.63KB 2.18KB
react (schema-input.js) 2.32KB 1.24KB
react (spec-input.js) 0.20KB 0.18KB
sdui-parser (codegen.js) 6.58KB 2.74KB
sdui-parser (dashboard-widget-options.js) 3.08KB 1.30KB
sdui-parser (index.js) 5.55KB 2.45KB
sdui-parser (input-type.js) 2.84KB 1.40KB
sdui-parser (parse.js) 20.57KB 5.88KB
sdui-parser (provenance.js) 3.66KB 1.82KB
sdui-parser (types.js) 0.28KB 0.23KB
sdui-parser (validate.js) 13.64KB 4.59KB
types (ai.js) 0.20KB 0.17KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 2.87KB 1.00KB
types (base.js) 0.20KB 0.18KB
types (blocks.js) 0.20KB 0.18KB
types (complex.js) 2.74KB 1.41KB
types (crud.js) 0.20KB 0.18KB
types (dashboard-filter-alias.js) 6.23KB 2.74KB
types (data-display.js) 3.75KB 1.85KB
types (data-protocol.js) 0.20KB 0.19KB
types (data.js) 0.20KB 0.18KB
types (designer.js) 1.85KB 0.85KB
types (disclosure.js) 0.20KB 0.18KB
types (error-code.js) 1.54KB 0.88KB
types (expression.js) 0.20KB 0.18KB
types (feedback.js) 0.20KB 0.18KB
types (field-types.js) 0.20KB 0.18KB
types (form.js) 0.20KB 0.18KB
types (http-inflight.js) 8.87KB 3.73KB
types (http-retry.js) 4.32KB 2.02KB
types (icon-key-migration.js) 4.26KB 1.63KB
types (index.js) 4.74KB 2.25KB
types (layout.js) 0.20KB 0.18KB
types (managed-by.js) 0.19KB 0.18KB
types (mobile.js) 4.73KB 2.28KB
types (navigation.js) 0.20KB 0.18KB
types (objectql.js) 0.20KB 0.18KB
types (overlay.js) 0.20KB 0.18KB
types (permissions.js) 0.20KB 0.18KB
types (plugin-scope.js) 0.20KB 0.18KB
types (record-components.js) 0.20KB 0.19KB
types (record-semantics.js) 1.28KB 0.67KB
types (registry.js) 0.20KB 0.18KB
types (reports.js) 0.20KB 0.18KB
types (select-option.js) 0.20KB 0.19KB
types (spec-report.js) 5.05KB 1.93KB
types (spec-ui-namespace.js) 0.20KB 0.19KB
types (system-fields.js) 3.33KB 1.54KB
types (theme.js) 6.28KB 2.87KB
types (ui-action.js) 8.11KB 3.32KB
types (views.js) 0.20KB 0.18KB
types (widget.js) 0.20KB 0.18KB

Size Limits

  • ✅ Core packages should be < 50KB gzipped
  • ✅ Component packages should be < 100KB gzipped
  • ⚠️ Plugin packages should be < 150KB gzipped

Copy link
Copy Markdown
Collaborator Author

Contract review of the patch-round delta — PASS · and the landing decision, with the one red named

Reviewed-by: domain:ui @ objectui PM seat, session_01YBWFb5YgMU5dw8p2VKj16S, in-seat at opus = TIER_DEFAULT.
⚠️ Stated plainly because this seat mislabelled its own review tier earlier in this session and corrected it publicly on #8077: CONTRACT_REVIEW_TIER is claude-fable-5-1, it is measured unavailable to this session (rate_limit HTTP 429), and the quota-exhaustion exemption permits falling back to TIER_DEFAULT and ⛔ no lower. This review ran at opus. ⛔ It is not described as running at contract-review tier, because it did not.

Clause-②: NO, and this is the reason no needs:contract-review carrier is on this PR. ComboboxOption and ComboboxOptionSchema are byte-identical; disabled was already accepted by both faces before this change. What moves is whether the accepted key is read. ⇒ a behaviour change, ⛔ not an accept-set change. The minor bump with the break spelled out is the correct expression of that, and major is forbidden by repo convention.

The delta reviewed: 6ff473171b0a6b3c8b

The patch round was sent because Test (shard 4/4) was red — root-caused (⛔ not waved through as base noise) to packages/types/src/__tests__/component-docs-disabled-inherited-7239.test.ts, the census that reads the .mdx files as text and pins the documented-disabled?: population. The docs row this PR added moved it.

The dispatch's instruction was explicit and it is worth restating against what came back, because the failure mode here is a specific one: ⛔ do not bump 22→23 to get back to green, ⛔ do not revert the docs line, ✅ classify the row by the file's own stated criterion.

requirement what the round did verdict
classify, ⛔ don't bump ComboboxOption placed in the INDEPENDENT table on the file's own criterion — verified declared only in packages/types/src/form.ts, carries no extends BaseSchema, declares disabled itself
counts move consistently rows 22 → 23, independent 8 → 9, inherited unchanged at 14 — the inherited count holding still is the check that the row went to the right table
⛔ no vacuous pass ⭐ the round confirmed through the verbose reporter that both new assertions actually executed and passed — ⛔ not that a widened count stopped complaining. That is the distinction that separates a claim from a number edited into agreement, and it is the single most important line in the report
the ledger move is legible later a new ## Amendments section records why the population moved, so the next reader can tell a deliberate claim from a green-chasing bump
⛔ docs line not reverted intact
changeset honest about @object-ui/types explains why that package gets no bump — no shipped type or value moves there, only a test
PR body corrected where the round falsified it ⭐ the body now corrects a belief the card itself carried — that a plaintext fence is invisible to CI. True of the doc-TYPE gates, false overall, and the census is the counter-example that proves it

⭐ One declared deviation, accepted: the full local suite aborted at the 560s foreground cap (exit 124), so the round enumerated the doc-reading population by grep and ran all of it — 24 scripts/__tests__ files + 25 package test files + all of packages/types. ✅ Correct call, and correctly declared: a scope narrowed to the package the code fix lives in is precisely what could not have seen this census failure in the first place. Enumerating the population by measurement rather than by guess is the right substitute for a run that does not fit.

CI: converged. 32 checks — 29 success, 3 skipped, 1 failure

The one failure is Live E2E (informational), and I am naming it rather than waving it through.

It is not this PR's, and that is measured, not assumed. Root-caused today from run 34056438855 job 101549092958: published @objectstack/*@17.2.0 imports createLocalAccountIssuer from @better-auth/core/db, which does not export it ⇒ AuthPlugin failed to loadCore service missing: auth ⇒ no sys_* table is ever created (no such table: sys_organization / sys_user / sys_position / sys_permission_set) ⇒ the readiness probe times out at 300s ⇒ exit 1. Full evidence on objectui#8084 (comment 5561862079); filed on the producing side as objectstack#16411.

⇒ the failure is in a published backend dependency's module resolution. This PR's diff is one prop read in a combobox, one docs line, and a census classification. There is no mechanism by which it reaches an ESM named-export mismatch in @better-auth/core. The lane is also advisory by its own workflow's words — "informational lane — does not block merge".

⚠️ And the guard against that becoming a habit: the moment the failure signature stops matching the one above, it is a different failure and it is the PR's until proven otherwise. I checked this run's signature against the recorded one before writing this sentence.

⛔ No re-run spent: this is the established-not-mine case, and the standing-down note is on the record above rather than a retry.

Landing

Pre-landing three: ① the delta review above is PASS, no carrier to clear, head b0a6b3c8b unchanged since the review; ② flipping ready and enabling auto-merge (SQUASH) next; ③ queue entry confirmed by ref with a positives-only control. Fixes #7687, so the card closes on merge and this seat strips pm:dispatched.


Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Combobox never reads options[].disabled: @object-ui/types declares it and form.zod.ts validates it, the component renders every option enabled

2 participants